package oppsa.controller;
//Variables
public class Meeting {
	private int sequence;
	private String meetingName;
	private int seqProject;
	private int seqMeetingType;
	
	public Meeting() {
		this.sequence = 0;
		this.meetingName = "Default";
		this.seqProject = 0;
		this.seqMeetingType=0;
	}
	
	public Meeting(int sequence, String meetingID, String meetingName,
			int seqProject, int seqMeetingType) {
		this.sequence = sequence;
		this.meetingName = meetingName;
		this.seqProject = seqProject;
		this.seqMeetingType = seqMeetingType;
	}
	
	public Meeting(Meeting m) {
		this.sequence = m.sequence;
		this.meetingName = m.meetingName;
		this.seqProject = m.seqProject;
		this.seqMeetingType = m.seqMeetingType;
	}
	//Getters & Setters
	public int getSequence() {
		return sequence;
	}
	public void setSequence(int sequence) {
		this.sequence = sequence;
	}
	public String getMeetingName() {
		return meetingName;
	}
	public void setMeetingName(String meetingName) {
		this.meetingName = meetingName;
	}
	public int getseqProject() {
		return seqProject;
	}
	public void setseqProject(int seqProject) {
		this.seqProject = seqProject;
	}

	public int getSeqMeetingType() {
		return seqMeetingType;
	}

	public void setSeqMeetingType(int seqMeetingType) {
		this.seqMeetingType = seqMeetingType;
	}
	public boolean compareTo(Meeting m)
	{
		
		if (this.sequence == m.sequence && this.seqProject == m.seqProject && this.meetingName == m.meetingName && this.seqMeetingType == m.seqMeetingType) {
			return true;
		}
		
		return false;
	}
	
}
